package com.ysd.model;

public class Admin {
	private int id;
	private String name;
	private String pass;
	private String phone;
	private String realName;
	private int userState;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public int getUserState() {
		return userState;
	}
	public void setUserState(int userState) {
		this.userState = userState;
	}
	public Admin() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Admin(int id, String name, String pass, String phone,
			String realName, int userState) {
		super();
		this.id = id;
		this.name = name;
		this.pass = pass;
		this.phone = phone;
		this.realName = realName;
		this.userState = userState;
	}
	@Override
	public String toString() {
		return "Admin [id=" + id + ", name=" + name + ", pass=" + pass
				+ ", phone=" + phone + ", realName=" + realName
				+ ", userState=" + userState + "]";
	}
}
